package com.sinochem.yunlian.ship.api.vo.trace;

import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;

import javax.validation.constraints.Pattern;
import java.util.Date;
import java.util.List;

/**
 * @Author: zzd
 * @Decription: trc_waybill 表全量数据
 */
@Data
public class WaybillInfo {

    //运单id
    private Long id;
    //运单编号
    private String waybillNo;
    //群聊ID
    private Long chatGroupId;
    //订单id
    private Long orderId;
    //订单编号
    private String orderNo;
    //货盘ID
    private Long materialId;
    //货盘编号
    private String materialNo;
    //货主公司id
    private Long cargoCompanyId;
    //货主公司名称
    private String cargoCompanyName;
    //船东公司id
    private Long shipCompanyId;
    //船东公司名称
    private String shipCompanyName;
    //船id
    private Long shipId;
    //船编号
    private String shipNo;
    //船名称
    private String shipName;
    //联系人
    private String contactName;
    //联系人号码
    private String contactPhone;
    //联系人公司名称
    private String contactCompanyName;
    //线下合同编号
    private String offlineContractNo;
    //合同附件url（附件表中id）
    private String offlineContractUrl;
    //合同附件名称
    private String offlineContractName;
    //是否有异常
    private Integer isException;
    //最新节点
    private Long lastNodeId;
    //最新节点对应港口ID
    private Long lastPortId;
    //备注
    private String remark;
    //是否已分享
    private Integer isShare;
    //0 系统(自动创建) 1 线下(货主) 2 线下(船东)
    private Integer sourceType;
    //状态
    private Integer status;
    //0 无申请操作；1 申请取消 2 申请关闭
    private Integer isApplyAction;
    //状态
    private Integer isDelete;
    //创建时间
    private Date createTime;

    private Long createBy;

    //更新时间
    private Date updateTime;

    private Long updateBy;

    //完成时间
    private Date completedTime;

    private Long completedBy;
}
